/* * Copyright (c) 2016, S.F. Express Inc. All rights reserved. */ 
package com.sf.osms.dep.domain; 
import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Polymorphism;
import org.hibernate.annotations.PolymorphismType;

import com.sf.novatar.base.domain.LongIdBean;

/**描述：回单收费信息
 *@author 841245 
 *@since 1.0 
 **/
@Entity
@Table(name = "wbs_tt_charge_base")
@Polymorphism(type = PolymorphismType.EXPLICIT)
public class ChargeBase extends LongIdBean implements Serializable {
	private static final long serialVersionUID = 1L;

	/**主键id**/
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "ID", unique = true, nullable = false)
	private Long id;
	
	/**新建日期**/
	@Column(name = "INPUT_DATE")
	private Date inputDate;
	
	/**修改日期**/
	@Column(name = "MODIFY_DATE")
	private Date modifyDate;
	
	/**国家代码**/
	@Column(name = "COUNTRY_CODE")
	private String countryCode;
	
	/**顺丰单号**/
	@Column(name = "SFWAYBILL")
	private String sfWaybill;
	
	/**账号**/
	@Column(name = "CREDIT_ACCOUNT")
	private String creditAccount;
	
	/**网点号**/
	@Column(name = "NETWORK")
	private String network;
	
	/**支付方式**/
	@Column(name = "PAYMENT_TYPE")
	private String paymentType;
	
	/**状态***/
	@Column(name = "STATUS")
	private String status;
	
	@Column(name = "POD_DATE")
	private Date podDate;
	
	/**创建者id**/
	@Column(name = "INPUTER_ID")
	private Long inputerId;
	
	/**修改这id**/
	@Column(name = "MODIFIER_ID")
	private Long modifierId;

	@Override
	public Long getId() {
		return this.id;
	}

	public Date getInputDate() {
		return inputDate;
	}

	public void setInputDate(Date inputDate) {
		this.inputDate = inputDate;
	}

	public Date getModifyDate() {
		return modifyDate;
	}

	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}

	public String getCountryCode() {
		return countryCode;
	}

	public void setCountryCode(String countryCode) {
		this.countryCode = countryCode;
	}

	public String getSfWaybill() {
		return sfWaybill;
	}

	public void setSfWaybill(String sfWaybill) {
		this.sfWaybill = sfWaybill;
	}

	public String getCreditAccount() {
		return creditAccount;
	}

	public void setCreditAccount(String creditAccount) {
		this.creditAccount = creditAccount;
	}

	public String getNetwork() {
		return network;
	}

	public void setNetwork(String network) {
		this.network = network;
	}

	public String getPaymentType() {
		return paymentType;
	}

	public void setPaymentType(String paymentType) {
		this.paymentType = paymentType;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Date getPodDate() {
		return podDate;
	}

	public void setPodDate(Date podDate) {
		this.podDate = podDate;
	}

	public Long getInputerId() {
		return inputerId;
	}

	public void setInputerId(Long inputerId) {
		this.inputerId = inputerId;
	}

	public Long getModifierId() {
		return modifierId;
	}

	public void setModifierId(Long modifierId) {
		this.modifierId = modifierId;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Override
	public String toString() {
		return "ChargeBase [id=" + id + ", inputDate=" + inputDate
				+ ", modifyDate=" + modifyDate + ", countryCode=" + countryCode
				+ ", sfWaybill=" + sfWaybill + ", creditAccount="
				+ creditAccount + ", network=" + network + ", paymentType="
				+ paymentType + ", status=" + status + ", podDate=" + podDate
				+ ", inputerId=" + inputerId + ", modifierId=" + modifierId
				+ "]";
	}
	
}
